#ifndef STUDENT_DATA_H
#define STUDENT_DATA_H

#include "double_list.h"
#include "status_enum.h"
#include "student_interface.h"

/**
 * Student data management interface function declaration.
 */
status_t data_add_student(const student_info_t *info);

status_t data_delete_student_id(const char *id, student_info_t *info);

status_t data_delete_student_name(const char *name, student_info_t *info);

status_t data_update_student(const student_info_t *info);

status_t data_query_student_id(const char *id, student_info_t *info);

status_t data_query_student_name(const char *name, student_info_t *info);

status_t data_get_all_student(student_info_t **students, size_t *count);

#endif /* STUDENT_DATA_H */
